;; general & miscellaneous settings
;; This is a catch-all bin for (setq ...)s.

(setq user-full-name "Maciej Kalisiak")
(setq user-mail-address "mkalisiak@gmail.com")

(fset 'yes-or-no-p 'y-or-n-p)

(setq echo-keystrokes 0.1
      use-dialog-box nil
      visible-bell t)

(setq line-number-mode t
      column-number-mode t)

(setq backup-directory-alist
      `((".*" . "~/bak")))
(setq auto-save-file-name-transforms
      `((".*" "~/bak/\\1" t)))

(setq calendar-week-start-day 1)

;; Based on: http://stackoverflow.com/questions/2081577/setting-emacs-split-to-horizontal
(setq split-height-threshold nil)
(setq split-width-threshold 160)
